package com.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@EnableDiscoveryClient//发现服务
@EnableConfigServer//标识为配置服务中心
@SpringBootApplication
public class SpringCloudeConfigServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringCloudeConfigServerApplication.class, args);
	}
}
